Central Article

Using the Central Accordion Tab Component


Table of Contents

  1. Introduction
  2. Getting Started
  3. Adding Tabs to the Accordion Tab Component
  4. Determining When the User Selects a Tab
  5. Switching Between Views When the Selected Tab Changes
  6. Using the Accordion Tab Component for Application Layout
  7. Adding Favorite Tab Support
  8. Additional Resources

Getting Started

Before you get started, you have to first make sure that the component is installed. If you have already installed the component, then you may skip this step.

  1. Download the Macromedia Central SDK. The SDK contains Central documentation, resources, samples as well as the components.
  2. Install the Central components. These can be found in the Components/ directory of the SDK. Follow the directions in the readme.txt file located in that directory.
  3. Open Macromedia Flash (or restart it if it was open).
  4. Open the Components Panel (Window > Development Panels > Components).
  5. Expand the Central Components Section within the Components Panel.
  6. The Accordion Tab component is the first component (listed as MAccordionTab as shown in Figure 1).

The Accordion Tab component in the Components panel

Figure 1. The Accordion Tab component in the Components panel

There are a couple of items to keep in mind when placing an instance of the According Tab component into your application within the Flash authoring environment:

  • The runtime size of the component is determined by its author time size.
  • Live preview for most of the Central components, including the Accordion Tab, is not supported.
  • The Central components will not work when testing within the Flash environment. Therefore, you must test them within Central.